package ch.sfug.graphics.primitives {
	import flash.display.Shape;			

	public class SimpleHorizontalLine extends Shape {
		public function SimpleHorizontalLine(color:Number = 0x000000, style:Number = 0, widthLine:Number = 100, alphaVal:Number = 1) {
			setUI(color, style, widthLine, alphaVal);
		}

		
		private function setUI(color, style, widthLine, alphaVal):void {
			alpha = alphaVal;
			graphics.lineStyle(style, color);
			graphics.moveTo(0, 0);
			graphics.lineTo(widthLine, 0);
		}
	}
}